package by.grsu.hdm.media;

public class Audio extends Media {
	
	private String nameOfPerformer;

	protected Audio(){
		super();
	}
	
	public Audio(String id, String audioName, String nameOfPerformer, long audioDuration){
		super(id, audioName, audioDuration);
		this.nameOfPerformer = nameOfPerformer;
	}
	
	@Override
	public String mediaInformation() {
		return "Audio File: " + getMediaName() + ", Performer: " + nameOfPerformer + ", Duration: " + getDuration();
	}

}
